package com.lanswon.qzsmk.model;

import java.io.Serializable;

public class ModelPermission implements Serializable {
    /** 权限ID */
    private Integer permissionId;

    /** 所属系统ID */
    private Integer sysId;

    /** 所属模块ID */
    private Integer modelId;

    /** 权限名称 */
    private String permissionName;

    /** 类别 */
    private Integer permissionClassicId;

    /** 模块名称 */
    private String modelName;

    /** 默认拥有 */
    private String forall;

    private static final long serialVersionUID = 1L;

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public Integer getSysId() {
        return sysId;
    }

    public void setSysId(Integer sysId) {
        this.sysId = sysId;
    }

    public Integer getModelId() {
        return modelId;
    }

    public void setModelId(Integer modelId) {
        this.modelId = modelId;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public Integer getPermissionClassicId() {
        return permissionClassicId;
    }

    public void setPermissionClassicId(Integer permissionClassicId) {
        this.permissionClassicId = permissionClassicId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName == null ? null : modelName.trim();
    }

    public String getForall() {
        return forall;
    }

    public void setForall(String forall) {
        this.forall = forall == null ? null : forall.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", permissionId=").append(permissionId);
        sb.append(", sysId=").append(sysId);
        sb.append(", modelId=").append(modelId);
        sb.append(", permissionName=").append(permissionName);
        sb.append(", permissionClassicId=").append(permissionClassicId);
        sb.append(", modelName=").append(modelName);
        sb.append(", forall=").append(forall);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}